package com.molichuxing.services.infrastructure.dao;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.MessageContent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MessageContentMapper extends RootMapper<MessageContent> {


    /**
     * 查询消息
     * @param record
     * @return
     */
    int insertSelective(MessageContent record);


    /**
     * 根据centerId获取消息信息
     * @param centerId
     * @return
     */
    List<MessageContent> getMessageContentByCenterId(@Param("centerId") Integer centerId);

}